package com.bwhx.eruler.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.QRCode;
import com.bwhx.eruler.dao.WXDAO;
import com.bwhx.eruler.service.WXService;

@Service
public class WXServiceImpl implements WXService {
	
	@Autowired
	WXDAO wxDAO;

	public QRCode getByPhone(String phone){
		return wxDAO.getByPhone(phone);
		
	}

	@Override
	public Long getMaxSceneid() {
		return wxDAO.getMaxSceneid();
	}

	@Override
	public void insertQRCodeInfo(QRCode qr) {
		wxDAO.insertQRCodeInfo(qr);
		
	}

	@Override
	public void updateQRCodeInfo(QRCode qr) {
		wxDAO.updateQRCodeInfo(qr);
		
	}

}
